﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html py:layout="load('../layout.html')" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Directory</title>
</head>
<body>
<h1>
  Contents of '$c.dir'</h1>
<ul>
  <li><a href="?dir=$c.parent">..</a></li>
  <li py:for="name, path, isdir in c.files">
  	<strong py:if="isdir"><a href="?dir=$path">[$name]</a></strong>
    <a py:if="not isdir" href="show?file=$path">$name</a>	 
  </li>
</ul>
</body>
</html>
